<%-- 
    Document   : nav
    Created on : Sep 26, 2013, 10:55:47 PM
    Author     : mrnghiep
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<script>
    var check = true;
    function showSub(){
        if(check==true){
            document.getElementById("DangTinNhat").style.opacity = "1";
            document.getElementById("DangTinMat").style.opacity = "1";
            check = false;
        }else{
            document.getElementById("DangTinNhat").style.opacity = "0";
            document.getElementById("DangTinMat").style.opacity = "0";
            check = true;
        }
    }
    
</script>
<div id="nav_in">
    <ul>
        <li class="hometab"><a href="index.jsp">Tìm giấy tờ</a></li>
        <li class="cat-item"><a href="list.jsp?type=LOST">Mất giấy tờ</a></li>
        <li class="cat-item"><a href="list.jsp?type=COLLECT">Nhặt giấy tờ</a></li>
        <li ><a href="news.jsp">Tin tức</a></li>
        <li class="post-menu" onclick="return showSub();"><a href="#" >Đăng tin</a></li>
        <li class="post-menu-sub" id="DangTinNhat" style="opacity:0;transition:opacity 0.7s;"><a href="create.jsp?type=C" >Nhặt được</a></li>
        <li class="post-menu-sub" id="DangTinMat" style="opacity:0;transition:opacity 0.7s;"><a href="create.jsp?type=L" >Bị mất</a></li>
    </ul>

    <div id="top_strip_in">
        <p>${sessionScope.EMAILADMIN}</p>
    </div> <!-- top_strip_in -->
</div>